﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace WebsiteAdmin
{
    public partial class SkipPage1 : System.Web.UI.Page
    {
        protected string siteWeb = Global.SiteWeb;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BindSite(Global.ConSalomon);
            }
        }
        protected void BindSite(string strCon)
        {
            using (DataTable dtSite = Bll.Site.MULTIPLE(strCon))
            {
                if (dtSite != null && dtSite.Rows.Count > 0)
                {
                    this.repSite.DataSource = dtSite.DefaultView;
                    this.repSite.DataBind();
                }
            }
        }
    }
}
